﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wuther.Entities.Models;
using Wuther.Util.Models;

namespace Wuther.Util.Profiles
{
    public class CalligraphyProfile: Profile
    {
        public CalligraphyProfile()
        {
            CreateMap<Calligraphy, CalligraphyDto>();

            CreateMap<CalligraphyDto, Calligraphy>();

            CreateMap<Calligraphy, CalligraphyFullDto>();

            CreateMap<CalligraphyFullDto, Calligraphy>();

            CreateMap<CalligraphyAddDto, Calligraphy>();
        }
    }
}
